package com.jsu.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.model.common.dtos.ResponseResult;
import org.example.model.user.dto.WXAuth;
import org.example.model.user.pojo.User;

public interface AppLoginService extends IService<User> {

    /**
     * 获取sessionId
     * @param code
     * @return
     */
    ResponseResult getSessionId(String code);

    /**
     * 微信登录
     * @param wxAuth
     * @return
     */
    ResponseResult authLogin(WXAuth wxAuth);
}
